package com.jiawa.train.business.req;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.Builder;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class StationSaveReq {

    /**
    * id
    */
    private Long id;

    /**
    * 站名
    */
   @NotBlank(message = "【站名】不能为空")
    private String name;

    /**
    * 站名拼音
    */
   @NotBlank(message = "【站名拼音】不能为空")
    private String namePinyin;

    /**
    * 站名拼音首字母
    */
   @NotBlank(message = "【站名拼音首字母】不能为空")
    private String namePy;

    /**
    * 新增时间
    */
    private Date createTime;

    /**
    * 修改时间
    */
    private Date updateTime;

}